//
//  AlbumPhoto.m
//  preorder
//
//  Created by nadyboy on 2018/1/26.
//  Copyright © 2018年 com.yijie. All rights reserved.
//

#import "AlbumPhoto.h"

@implementation AlbumPhoto
-(AlbumPhoto *)initWithProPerties:(NSDictionary *)info{

    if (self = [super init]) {
        
        self.des = info[@"des"];
        self.url = info[@"url"];
        self.image = info[@"image"];
        self.flag = info[@"flag"];
        self.placehoder = info[@"placehoder"];
    }
    return self;
}
+(instancetype)photoWithProPerties:(NSDictionary *)info
{
    return [[self alloc]initWithProPerties:info];
}
@end
